{% extends "learning_logs/base.html" %}
{% load bootstrap3 %}

{% block header %}
    <h2>添加新的产品:</h2>
{% endblock header %}

{% block content %}
    <form method="post" class="form" action="{% url 'ETP:new_product' %}">
        {% csrf_token %}
        {% bootstrap_form form %}
        {% buttons %}
            <button name="submit" class="btn btn-primary">添加产品</button>
        {% endbuttons %}
    </form>
{% endblock content %}